
<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd">
  <html>
    <head>
      <title>
	{{=response.title}}
      </title>
      {{response.files.append(URL(r=request,c='static',f='style.css'))}}
      {{include 'web2py_ajax.html'}}
      <script type="text/javascript" src="{{=URL(r=request,c='static',f='jquery.slidertron-0.1.js')}}"></script>
      <style>
	@import "{{=URL(r=request,c='static',f='slidertron.css')}}";
      </style>
    </head>
    <body>
      <div id="page">
        <div id="header">
	  <div id="login">
	    [ {{if not auth.user:}}
	    <a href="{{=URL(r=request,f='user/login')}}">login</a>
	    {{else:}}
	    {{=auth.user.first_name}} |
	    <a href="{{=URL(r=request,f='user/logout')}}">logout</a> |
	    <a href="{{=URL(r=request,f='user/change_password')}}">password</a> |
	    <a href="{{=URL(r=request,f='user/profile')}}">profile</a>
	    {{pass}} ]
	  </div>
          <a href="#">
            <h1>
	      Vis
            </h1>
          </a>
          <div class="description">
            Online Database of Gauge Configurations and Visualizations
          </div>
        </div>
        <div id="menulinks">
	  {{for item in response.menu:}}
          <a href="{{=item[2]}}">
	    {{=item[0]}}
          </a>
	  {{pass}}
        </div>
        <div id="mainarea">
          <div id="contentarea">
            <div class="content">
	      <div class="flash">{{=response.flash}}</div>
	      {{include}}
	    </div>
	  </div>
        </div>
        <div id="footer">
          &copy; 2010
	  -
	  Powered by
	  <a href="http://web2py.com">
	    web2py
	  </a>
        </div>
      </div>
    </body>
  </html>
  
